package org.gdtc.storefront;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

/*
启动类
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableAuthorizationServer
@MapperScan("org.gdtc.storefront.mapper")
public class StorefrontApplication {
    public static void main(String[] args) {
        SpringApplication.run(StorefrontApplication.class,args);
    }
}
